

\centering
\begin{tabular}[t]{lrrr}
\toprule
\multicolumn{1}{c}{ } & \multicolumn{3}{c}{\textit{Correct gender:}} \\
\cmidrule(l{3pt}r{3pt}){2-4}
  \textit{Participant guess} & Male or female & Transgender & Total\\
\midrule
Male or female & 1239 & 10 & 1249\\
Transgender & 15 & 332 & 347\\
Total & 1254 & 342 & 1596\\
\bottomrule
\end{tabular}

